package com.come4loves.game.module.skill.targetimpl;

import java.util.ArrayList;
import java.util.Collection;
import java.util.List;

import org.springframework.stereotype.Component;

import com.come4loves.game.module.fight.model.ActorBattle;
import com.come4loves.game.module.skill.AbstractSkillTargetActor;
@Component
public class SelfActorImpl extends AbstractSkillTargetActor {

	@Override
	public List<ActorBattle> getTargets(ActorBattle attacker, Collection<ActorBattle> allActorBattles) {
		List<ActorBattle> result = new ArrayList<ActorBattle>();
		result.add(attacker);
		return result;
	}
	
	@Override
	public int id() {
		return 2;
	}

}
